﻿@model IEnumerable<RenterClient.Models.PostModels>

@{
    ViewBag.Title = "Home Page";
}



@*<!DOCTYPE html>
<html lang="en">

<head>*@
@*    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Find a rent | Renter</title>*@

    <!-- Bootstrap core CSS -->
    @*<link href="css/bootstrap.css" rel="stylesheet">*@

    <!-- Custom Google Web Font -->
    @*<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet">*@

    <!-- Add custom CSS here -->
    @*<link href="css/landing-page.css" rel="stylesheet">*@
	<!-- <script type="text/javascript">
		$( document ).ready(function() {
			$("[rel='tooltip']").tooltip();    
		 
			$('.thumbnail').hover(
				function(){
					$(this).find('.caption').slideDown(250); //.fadeIn(250)
				},
				function(){
					$(this).find('.caption').slideUp(250); //.fadeOut(205)
				}
			); 
		});
	</script>
 -->
@*</head>

<body>*@

@*    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="http://startbootstrap.com">| Renter</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse navbar-right navbar-ex1-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="signup.html">Sign Up</a>
                    </li>
                    <li><a href="login.html">Log In</a>
                    </li>
                    <li><a href="">List Your Rent</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
    </nav>*@

    <div class="intro-header">

        <div class="container">

            <div class="row">
                <div class="col-lg-6 col-md-6 col-sm-8 col-lg-offset-3 col-md-offset-3 col-sm-offset-2">
                    <div class="intro-message">
                        <h3>Rent a motor bike from someone like you</h3>
                        <hr class="intro-divider">
						
						<div class="input-group add-on">
						  <input type="text" class="form-control" placeholder="Where would you like to rent ?" name="srch-term" id="srch-term">
						  <div class="input-group-btn">
                              <a class="btn btn-default" id="testvar"><i class="glyphicon glyphicon-search"></i></a>
							@*<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>*@
						  </div>
						</div>
                    </div>
                </div>
            </div>

        </div>
        <!-- /.container -->

    </div>
    <!-- /.intro-header -->

    <div class="content-section-a">

        <div class="container">


            <div class="row">
                <div class="col-lg-12 col-sm-6">	


					<div>
                        <h4 style="text-align: center">Last posts</h4>
                        <hr class="intro-divider">	
					</div>						
					
					
                    @foreach (var post in Model)
                    {
                        <div class="col-lg-3 col-md-4 col-xs-6 thumb">
                            <a class="thumbnail" href="@Url.Action("RentDetails", new { id = post._Id })">                                
                                <div class="caption" style="display: block;">
                                    <div style="margin-left: 20px; margin-top: 30px;">
                                        <p>@post._Id</p>
                                    </div>
                                </div>
                                <img class="img-responsive" src="Content/img/ipad.png" alt="">
                            </a>
                        </div>		
                    }
                    
                </div>
            </div>

        </div>
        <!-- /.container -->

    </div>
    <!-- /.content-section-a -->


    @*<div class="banner">

        <div class="container">

            <div class="row">
                <div class="col-lg-6">
                    <h2>Connect to Start Renting</h2>
                </div>
                <!-- <div class="col-lg-6">
                    <ul class="list-inline banner-social-buttons">
                        <li><a href="https://twitter.com/SBootstrap" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
                        </li>
                        <li><a href="https://github.com/IronSummitMedia/startbootstrap" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
                        </li>
                        <li><a href="#" class="btn btn-default btn-lg"><i class="fa fa-linkedin fa-fw"></i> <span class="network-name">Linkedin</span></a>
                        </li>
                    </ul>
                </div> -->
            </div>

        </div>
        <!-- /.container -->

    </div>*@
    <!-- /.banner -->

@*    <footer>
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <ul class="list-inline">
                        <li><a href="#home">Home</a>
                        </li>
                        <li class="footer-menu-divider">&sdot;</li>
                        <li><a href="#about">About</a>
                        </li>
                        <li class="footer-menu-divider">&sdot;</li>
                        <li><a href="#services">Services</a>
                        </li>
                        <li class="footer-menu-divider">&sdot;</li>
                        <li><a href="#contact">Contact</a>
                        </li>
                    </ul>
                    <p class="copyright text-muted small">Copyright &copy; Renter 2014. All Rights Reserved</p>
                </div>
            </div>
        </div>
    </footer>*@

    <!-- JavaScript -->
@*    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/bootstrap.js"></script>*@

@*</body>

</html>*@
